package com.hotel.customersystem.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (Pianhao)表实体类
 *
 * @author makejava
 * @since 2022-11-04 09:25:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pianhao")
public class Pianhao extends Model<Pianhao> {

    @TableId
    private Integer pianhaoId;
    
    private Integer userId;
    
    private Integer hotelId;
    
    private Integer pianhaoValue;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime pianhaoTime;

}

